package com.cw.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
 * @author ly
 * @since 2021-08-16
 */
@ApiModel(value ="患者信息表	")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PACS55.PATIENTINFO")
public class AcspPatientinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "检查流水号")
    @TableId("CHECKSERIALNUM")
    private String checkserialnum;

    @ApiModelProperty(value = "患者名称")
    @ExcelProperty(value = "PATIENTNAME")
    @TableField("PATIENTNAME")
    private String patientname;

    @ApiModelProperty(value = "患者拼音名称")
    @ExcelProperty(value = "PATIENTSPELLNAME")
    @TableField("PATIENTSPELLNAME")
    private String patientspellname;

    @ApiModelProperty(value = "生日")
    @ExcelProperty(value = "BIRTHDAY")
    @TableField("BIRTHDAY")
    private LocalDateTime birthday;

    @ApiModelProperty(value = "性别")
    @ExcelProperty(value = "SEX")
    @TableField("SEX")
    private String sex;

    @ApiModelProperty(value = "身份证号码")
    @ExcelProperty(value = "IDNUMBER")
    @TableField("IDNUMBER")
    private String idnumber;

    @ApiModelProperty(value = "电话号码")
    @ExcelProperty(value = "PHONENUMBER")
    @TableField("PHONENUMBER")
    private String phonenumber;

    @ApiModelProperty(value = "国籍")
    @ExcelProperty(value = "NATIONALITY")
    @TableField("NATIONALITY")
    private String nationality;

    @ApiModelProperty(value = "民族")
    @ExcelProperty(value = "FOLK")
    @TableField("FOLK")
    private String folk;

    @ApiModelProperty(value = "地址")
    @ExcelProperty(value = "ADDRESS")
    @TableField("ADDRESS")
    private String address;

    @ApiModelProperty(value = "本次检查的患者身份类型，门诊还是住院")
    @ExcelProperty(value = "HISPATIENTTYPE")
    @TableField("HISPATIENTTYPE")
    private Integer hispatienttype;

    @ApiModelProperty(value = "门诊患者编号")
    @ExcelProperty(value = "CLINICPATIENTID")
    @TableField("CLINICPATIENTID")
    private String clinicpatientid;

    @ApiModelProperty(value = "住院患者编号")
    @ExcelProperty(value = "INFEEPATIENTID")
    @TableField("INFEEPATIENTID")
    private String infeepatientid;

    @ApiModelProperty(value = "联网全局患者编号")
    @ExcelProperty(value = "ENETPATIENTID")
    @TableField("ENETPATIENTID")
    private String enetpatientid;

    @ApiModelProperty(value = "医保号")
    @ExcelProperty(value = "SOCIETYID")
    @TableField("SOCIETYID")
    private String societyid;

    @ApiModelProperty(value = "对应分诊系统 BACKUPFIELD1 ")
    @ExcelProperty(value = "REMARK")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "操作员ID")
    @ExcelProperty(value = "OPERATORID")
    @TableField("OPERATORID")
    private String operatorid;

    @ApiModelProperty(value = "操作时间")
    @ExcelProperty(value = "OPERATETIME")
    @TableField("OPERATETIME")
    private LocalDateTime operatetime;

    @ApiModelProperty(value = "电子邮件 ")
    @ExcelProperty(value = "EMAIL")
    @TableField("EMAIL")
    private String email;

    @ExcelProperty(value = "REQHOSPITALID")
    @TableField("REQHOSPITALID")
    private String reqhospitalid;

    @ExcelProperty(value = "PINYINTORETRIEVE")
    @TableField("PINYINTORETRIEVE")
    private String pinyintoretrieve;



}
